<?php
	$tahun 		= $_POST['tahun'];
	$bulan[]	= $_POST['bulan_1'];
	$bulan[] 	= $_POST['bulan_2'];
	$bulan[] 	= $_POST['bulan_3'];
	$bulan[] 	= $_POST['bulan_4'];
	$bulan[] 	= $_POST['bulan_5'];
	$bulan[] 	= $_POST['bulan_6'];
	$bulan[] 	= $_POST['bulan_7'];
	$bulan[] 	= $_POST['bulan_8'];
	$bulan[] 	= $_POST['bulan_9'];
	$bulan[]	= $_POST['bulan_10'];
	$bulan[]	= $_POST['bulan_11'];
	$bulan[]	= $_POST['bulan_12'];
	
	$nama_bulan = array(
		'januari',
		'februari',
		'maret',
		'april',
		'mei',
		'juni',
		'juli',
		'agustus',
		'september',
		'oktober',
		'november',
		'desember');
	
?>
<div class="title">Taksasi</div>
<form name="frm_<?=$subbagian;?>" id="frm_<?=$subbagian;?>" method="post" action="index.php?bagian=<?=$bagian;?>&subbagian=<?=$subbagian;?>&action=confirmed">
    <ul>
    	<li><span>
            <label>Tahun:</label>            
            <span class="confirm"><?=$tahun;?></span>
			<input type="hidden" name="tahun" value="<?=$tahun;?>" />
        </span></li>
	</ul>
	<ul>
    <?php
	$i=0;
	foreach($bulan as $b){
		$t = $b;
	?>
		<li><span>
            <label><?=ucfirst($nama_bulan[$i++]);?></label>
            <span class="confirm"><?=$b;?></span>
			<input type="hidden" name="bulan[]" value="<?=$b;?>" />
        </span></li>
    <?php
	}
	?>
    </ul>
	<ul>
		<li class="header"><span>Simpan</span></li>
		<li class="button"><span>
			<input type="submit" name="submit" id="submit" value="Simpan Data" class="simpan"/>
			<a class="cancel" href="#" onclick="javascript:history.go(-1);">Batalkan</a>
		</span></li>
	</ul>
</form>